﻿<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>

<%@ include file="/commons/taglibs.jsp"%>
<%@ include file="/commons/static.jsp"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="renderer" content="webkit">
	<meta http-equiv="Cache-Control" content="no-siteapp" />

	<title>异常库配置</title>
	<link rel="stylesheet" href="${ctx }/dep/treeTable/css/jquery.treetable.css" />
	<link rel="stylesheet" href="${ctx }/dep/treeTable/css/jquery.treetable.theme.default.css" />
	<link rel="stylesheet" href="${ctx }/dep/zTreeStyle/zTreeStyle.min.css" />

	<link rel="stylesheet" href="${ctx }/home/yichang/common.css" />
	<link rel="stylesheet" href="${ctx }/home/yichang/department.css" />
	<link rel="stylesheet" href="${ctx }/home/yichang/yichang.css" />


</head>
<body>
	<div class="wrapper">
		<div class="page-breadcrumbs">
			<ul class="breadcrumb">
				<li>
					<i class="fa fa-home"></i>
					<a href="index.html">业务配置管理</a>
				</li>
				<li class="active">
					<a href="#">异常库配置</a>
				</li>
			</ul>
		</div>
		<!-- <div class="page-header position-relative">
			<div class="header-title">
				<h1>异常库配置</h1>
			</div>
			Header Buttons
			<div class="header-buttons">
				<a class="sidebar-toggler" href="#">
					<i class="fa fa-arrows-h"></i>
				</a>
				<a class="refresh" id="refresh-toggler" href="">
					<i class="glyphicon glyphicon-refresh"></i>
				</a>
				<a class="fullscreen" id="fullscreen-toggler" href="#">
					<i class="glyphicon glyphicon-fullscreen"></i>
				</a>
			</div>
			头部按钮end
		</div> -->
		<div class="page-body">
                <div class="row">
                    <!--疾病第一列-->
                    <div class="col-xs-6 col-sm-3 first_list">
                        <div class="drop-down department">
                            <ul class="nav sidebar-menu">
                                <li>
                                    <a href="#" class="dropdown"><!--class="menu-dropdown"-->
                                        <i  class="fa fa-rocket"></i>
                                        <span class="menu-text">疾病名称</span>
                                        <i class="fa fa-plus collapse-right pull-right"></i>
                                    </a>
                                    <ul class="submenu">
                                        <li>
                                            <a href="javascript:;" class="menu-dropdown">
                                                <i class="fa fa-medkit"></i>
                                                <span class="menu-text">疾病名称1</span>
                                                <i class="fa fa-angle-right collapse-right pull-right fa-jibing"></i>
                                            </a>
                                            <ul class="submenu">
                                                <li>
                                                    <a href="javascript:;">
                                                        <span class="menu-text zhibiao">高血压</span>
                                                    </a>
                                                </li>
                                                <li>
                                                    <a href="javascript:;">
                                                        <span class="menu-text zhibiao">心脏病2</span>
                                                    </a>
                                                </li>
                                                <li>
                                                    <a href="javascript:;">
                                                        <span class="menu-text zhibiao">高血糖2</span>
                                                    </a>
                                                </li>
                                            </ul>
                                        </li>
                                        <li>
                                            <a href="#" class="menu-dropdown">
                                                <i class="fa fa-medkit"></i>
                                                <span class="menu-text">疾病名称2</span>
                                                <i class="fa fa-angle-right collapse-right pull-right"></i>
                                            </a>
                                            <ul class="submenu">
                                                <li>
                                                    <a href="javascript:;" class="">
                                                        <span class="menu-text zhibiao">高血压2</span>
                                                    </a>
                                                </li>
                                                <li>
                                                    <a href="javascript:;">
                                                        <span class="menu-text zhibiao">心脏病2</span>
                                                    </a>
                                                </li>
                                                <li>
                                                    <a href="javascript:;">
                                                        <span class="menu-text zhibiao">高血糖2</span>
                                                    </a>
                                                </li>
                                            </ul>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </div>
                    </div>
                    <!--指标名称第二列-->
                    <div class="col-sm-3">
                        <div class="drop-down position-name">
                            <ul class="nav sidebar-menu">
                                <li>
                                    <a href="#" class="dropdown">
                                    	<i class="fa  fa-location-arrow"></i>
                                        <span class="menu-text pn-title">指标项</span>
                                        <i class="fa  fa-plus pull-right addPosition-btn"></i>
                                    </a>

                                    <ul class="submenu">
                                        <li>
                                            <a href="javascript:;">
                                                <span class="menu-text">高血压指标1</span>
                                                 <i class="fa fa-trash-o pull-right"></i>
                                            </a>
                                        </li>
                                        <li>
                                            <a href="javascript:;">
                                                <span class="menu-text">高血压指标2</span>
                                                 <i class="fa fa-trash-o pull-right"></i>
                                            </a>
                                        </li>
                                        <li>
                                            <a href="javascript:;">
                                                <span class="menu-text">高血压指标3</span>
                                                 <i class="fa fa-trash-o pull-right"></i>
                                            </a>
                                        </li>
                                        <li>
                                            <a href="javascript:;">
                                                <span class="menu-text">高血压指标4</span>
                                                 <i class="fa fa-trash-o pull-right"></i>
                                            </a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </div>
                    </div>
                    <!--指标名称查看、编辑-->
                    <div class="col-xs-6 col-sm-6">
                        <!-- 查看指标名称信息展示-->
                        <div class="widget department-info department-information">
                            <div class="widget-header">
                                <i class="widget-icon fa fa-gear"></i>
                                <span class="widget-caption">查看指标名称</span>
                                <div class="widget-buttons">
                                    <a href="#">
                                        <i class="glyphicon glyphicon-pencil department-edit"></i>
                                    </a>
                                    <a href="#" data-toggle="dispose">
                                        <i class="glyphicon glyphicon-remove"></i>
                                    </a>
                                </div><!--Widget Buttons-->
                            </div><!--Widget Header-->
                            <div class="widget-body">
                                <table class="table">
                                    <tbody>
                                    	<tr>
                                        <td class="col-xs-3 text-right">上级名称:</td>
                                        <td class="depNum">疾病名称1</td>
                                    </tr>
                                    <tr>
                                        <td class="col-xs-3 text-right">指标名称:</td>
                                        <td class="depNum">高血压</td>
                                    </tr>
                                    <tr>
                                        <td class="col-xs-3 describe text-right">描述:</td>
                                        <td>
                                            <textarea class="form-control depDescribe" rows="6" readonly>暂无</textarea>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                                <div class="col-xs-12">
                                    <div class="col-xs-3 col-xs-offset-3">
                                        <button type="submit"
                                                class="btn btn-darkorange btn-lg form-control confirm-btn">确认
                                        </button>
                                    </div>
                                    <div class="col-xs-3 col-xs-offset-1">
                                        <button type="reset"
                                                class="btn btn-active btn-lg form-control cancel-btn">取消
                                        </button>
                                    </div>
                                    </div>
                            </div>
                            <!--Widget Body-->
                        </div>
                        <!--新增指标名称-->
                        <div class="widget department-info add_zhibiao hidden">
                            <div class="widget-header">
                                <i class="widget-icon fa fa-gear"></i>
                                <span class="widget-caption">新增指标名称</span>
                                <div class="widget-buttons">
                                    <a href="#" data-toggle="dispose">
                                        <i class="glyphicon glyphicon-remove"></i>
                                    </a>
                                </div><!--Widget Buttons-->
                            </div><!--Widget Header-->
                            <div class="widget-body">
                                <table class="table">
                                    <tbody>
                                    	<tr>
                                        <td class="col-xs-3 text-right">上级名称:</td>
                                        <td class="depNum">疾病名称1</td>
                                    </tr>
                                    <tr>
                                        <td class="col-xs-3 text-right">指标名称:</td>
                                        <td class="depNum">高血压</td>
                                    </tr>
                                    <tr>
                                        <td class="col-xs-3 describe text-right">描述:</td>
                                        <td>
                                            <textarea class="form-control depDescribe" rows="6" readonly>暂无</textarea>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                                <div class="col-xs-12">
                                	<div class="col-xs-3 col-xs-offset-3">
                                            <button type="submit"
                                                    class="btn btn-darkorange btn-lg form-control confirm-btn">确认
                                            </button>
                                        </div>
                                        <div class="col-xs-3 col-xs-offset-1">
                                            <button type="reset"
                                                    class="btn btn-active btn-lg form-control cancel-btn">取消
                                            </button>
                                        </div>
                                        
                                    </div>
                            </div>
                            <!--Widget Body-->
                        </div>
                        <!--添加疾病名称信息-->
                        <div class="widget department-info addDepartment hidden">
                            <div class="widget-header">
                                <i class="widget-icon fa fa-gear"></i>
                                <span class="widget-caption">疾病名称</span>
                                <div class="widget-buttons">
                                    <a href="#" data-toggle="dispose">
                                        <i class="glyphicon glyphicon-remove"></i>
                                    </a>
                                </div><!--Widget Buttons-->
                            </div><!--Widget Header-->
                            <div class="widget-body">
                                <form role="form" class="form-horizontal">
                                    <div class="form-group col-sm-12 col-xs-12">
                                        <label for="depNum" class="col-sm-3 control-label">疾病名称</label>
                                        <div class="col-sm-9">
                                            <input type="text"  class="form-control" placeholder="请输入疾病名称">
                                        </div>
                                    </div>
                                    <div class="form-group col-xs-12 col-md-12">
                                        <label for="superior" class="control-label col-xs-3">描述</label>
                                        <div class="col-xs-9 col-ms-10">
                                            <textarea class="form-control" name="depDescribe" rows="6"></textarea>
                                        </div>
                                    </div>
                                    <div class="col-xs-12">
                                        <div class="col-xs-3 col-xs-offset-3">
                                            <button type="submit"  class="btn btn-darkorange btn-lg form-control confirm-btn">确认
                                            </button>
                                        </div>
                                        <div class="col-xs-3 col-xs-offset-1">
                                            <button type="reset" class="btn btn-active btn-lg form-control cancel-btn">取消
                                            </button>
                                        </div>
                                    </div>
                                </form>
                            </div><!--Widget Body-->
                        </div>
                        <!--编辑指标名称信息-->
                        <div class="widget department-info editDepartment hidden">
                            <div class="widget-header">
                                <i class="widget-icon fa fa-gear"></i>
                                <span class="widget-caption">编辑指标名称</span>
                                <div class="widget-buttons">
                                    <a href="#" data-toggle="dispose">
                                        <i class="glyphicon glyphicon-remove"></i>
                                    </a>
                                </div><!--Widget Buttons-->
                            </div><!--Widget Header-->
                            <div class="widget-body">
                                <form role="form" class="form-horizontal">
                                	<div class="form-group col-sm-12 col-xs-12">
                                        <label class="col-sm-3 control-label">上级名称</label>
                                        <div class="col-sm-9">
                                            <input type="text" name="depNum" class="depNum form-control"
                                                   placeholder="疾病名称1" disabled>
                                        </div>
                                    </div>
                                    <div class="form-group col-sm-12 col-xs-12">
                                        <label class="col-sm-3 control-label">指标名称</label>
                                        <div class="col-sm-9">
                                            <input type="text" name="depNum" class="depNum form-control"
                                                   placeholder="0000">
                                        </div>
                                    </div>
									<div class="form-group col-xs-12 col-md-12">
										<label for="posDescribe" class="control-label col-xs-3">描述</label>
										<div class="col-xs-9 col-ms-10">
											<textarea class="form-control" id="posDescribe" name="posDescribe" rows="6" placeholder="请输入职位信息描述"></textarea>
										</div>
									</div>
                                    <div class="col-xs-12">
                                        <div class="col-xs-3 col-xs-offset-3">
                                            <button type="submit"
                                                    class="btn btn-darkorange btn-lg form-control confirm-btn">确认
                                            </button>
                                        </div>
                                         <div class="col-xs-3 col-xs-offset-1">
                                            <button type="reset"
                                                    class="btn btn-active btn-lg form-control cancel-btn">取消
                                            </button>
                                        </div>
                                    </div>
                                </form>
                            </div><!--Widget Body-->
                        </div>
                       <!--疾病名称查看-->
                     	<div class="widget department-info JIBINGDepartment hidden">
                            <div class="widget-header">
                                <i class="widget-icon fa fa-gear"></i>
                                <span class="widget-caption">查看疾病名称</span>
                                <div class="widget-buttons">
                                    <a href="#">
                                        <i class="glyphicon glyphicon-pencil position-edit-2"></i>
                                    </a>
                                    <a href="#" data-toggle="dispose">
                                        <i class="glyphicon glyphicon-remove"></i>
                                    </a>
                                </div><!--Widget Buttons-->
                            </div>
                            <div class="widget-body">
                                <form role="form" class="form-horizontal">
                                	<div class="form-group col-sm-12 col-xs-12">
                                        <label class="col-sm-3 control-label">疾病名称</label>
                                        <div class="col-sm-9">
                                            <input type="text" name="depNum" class="depNum form-control"
                                                   placeholder="疾病名称1" disabled>
                                        </div>
                                    </div>
									<div class="form-group col-xs-12 col-md-12">
										<label for="posDescribe" class="control-label col-xs-3">描述</label>
										<div class="col-xs-9 col-ms-10">
											<textarea class="form-control" id="posDescribe" name="posDescribe" rows="6" placeholder="请输入职位信息描述"></textarea>
										</div>
									</div>
                                    <div class="col-xs-12">
                                    	<div class="col-xs-3 col-xs-offset-3">
                                            <button type="submit" class="btn btn-darkorange btn-lg form-control confirm-btn">确认
                                            </button>
                                        </div>
                                        <div class="col-xs-3 col-xs-offset-1">
                                            <button type="reset" class="btn btn-active btn-lg form-control cancel-btn">取消
                                            </button>
                                        </div>
                                        
                                    </div>
                                </form>
                            </div>
                        </div>
                        <!---编辑疾病名称---->
                        <div class="widget department-info JIBINGD_edit hidden">
                            <div class="widget-header">
                                <i class="widget-icon fa fa-gear"></i>
                                <span class="widget-caption">编辑疾病名称</span>
                                <div class="widget-buttons">
                                    <a href="#" data-toggle="dispose">
                                        <i class="glyphicon glyphicon-remove"></i>
                                    </a>
                                </div>
                            </div>
                            <div class="widget-body">
                                <form role="form" class="form-horizontal">
                                	<div class="form-group col-sm-12 col-xs-12">
                                        <label class="col-sm-3 control-label">疾病名称</label>
                                        <div class="col-sm-9">
                                            <input type="text" name="depNum" class="depNum form-control"
                                                   placeholder="疾病名称1">
                                        </div>
                                    </div>
									<div class="form-group col-xs-12 col-md-12">
										<label for="posDescribe" class="control-label col-xs-3">描述</label>
										<div class="col-xs-9 col-ms-10">
											<textarea class="form-control" id="posDescribe" name="posDescribe" rows="6" placeholder="请输入职位信息描述"></textarea>
										</div>
									</div>
                                    <div class="col-xs-12">
                                    	<div class="col-xs-3 col-xs-offset-3">
                                            <button type="submit"
                                                    class="btn btn-darkorange btn-lg form-control confirm-btn">确认
                                            </button>
                                        </div>
                                        <div class="col-xs-3 col-xs-offset-1">
                                            <button type="button"
                                                    class="btn btn-active btn-lg form-control cancel-btn">取消
                                            </button>
                                        </div>
                                        
                                    </div>
                                </form>
                            </div>
                        </div>
                        
                        <!--查看指标-->
                        <div class="widget department-info position-information hidden">
                            <div class="widget-header">
                                <i class="widget-icon fa fa-gear"></i>
                                <span class="widget-caption">查看指标项</span>
                                <div class="widget-buttons">
                                    <a href="#">
                                        <i class="glyphicon glyphicon-pencil position-edit "></i>
                                    </a>
                                    <a href="#" data-toggle="dispose">
                                        <i class="glyphicon glyphicon-remove"></i>
                                    </a>
                                </div><!--Widget Buttons-->
                            </div><!--Widget Header-->
                            <div class="widget-body">
                            	<div class="form-group">
                                <table class="table">
                                    <tbody>
                                    <tr>
                                        <td class="col-xs-3 text-right">指标项:</td>
                                        <td class="depSatus">无效</td>
                                    </tr>
                                    <tr>
                                        <td class="col-xs-3 describe text-right">描述:</td>
                                        <td>
                                            <textarea class="form-control depDescribe" rows="6" readonly>暂无</textarea>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                                </div>
                                <div class="col-xs-12">
                                	<div class="col-xs-3 col-xs-offset-3">
                                        <button type="submit"
                                                class="btn btn-darkorange btn-lg form-control confirm-btn">确认
                                        </button>
                                    </div>
                                    <div class="col-xs-3 col-xs-offset-1">
                                        <button type="reset"
                                                class="btn btn-active btn-lg form-control cancel-btn">取消
                                        </button>
                                    </div>
                                </div>
                            </div>
                            <!--Widget Body-->
                        </div>
						<!--新增指标项-->
						<div class="widget department-info addPosition hidden">
							<div class="widget-header">
								<i class="widget-icon fa fa-gear"></i>
								<span class="widget-caption">新增指标项</span>
								<div class="widget-buttons">
									<a href="#" data-toggle="dispose">
										<i class="glyphicon glyphicon-remove"></i>
									</a>
								</div>
								<!--Widget Buttons-->
							</div>
							<!--Widget Header-->
							<div class="widget-body">
								<form role="form" class="form-horizontal">
									<div class="form-group col-sm-12 col-xs-12">
										<label for="depNum" class="col-sm-3 control-label">指标项</label>
										<div class="col-sm-9">
											<div class="input-group">
												<input type="text" class="form-control" disabled="">
												<span class="input-group-btn">
																		<a href="#zhibiao" data-toggle="modal" class="btn btn-default shiny" style="line-height: 20px">选择</a>
																	</span>
											</div>
										</div>
									</div>
									<div class="form-group col-xs-12 col-md-12">
										<label for="posDescribe" class="control-label col-xs-3">描述</label>
										<div class="col-xs-9 col-ms-10">
											<textarea class="form-control" id="posDescribe" name="posDescribe" rows="6" placeholder="请输入职位信息描述"></textarea>
										</div>
									</div>
									<div class="col-xs-12">
										<div class="col-xs-3 col-xs-offset-3">
											<button type="submit" class="btn btn-darkorange btn-lg form-control confirm-btn">确认
						                                        </button>
										</div>
										<div class="col-xs-3 col-xs-offset-1">
											<button type="reset" class="btn btn-active btn-lg form-control cancel-btn">取消
						                                        </button>
										</div>
										
									</div>
								</form>
							</div>
							<!--Widget Body-->
						</div>
                        <!--编辑指标项信息-->
                        <div class="widget department-info editPosition hidden">
                            <div class="widget-header">
                                <i class="widget-icon fa fa-gear"></i>
                                <span class="widget-caption">编辑指标项</span>
                                <div class="widget-buttons">
                                    <a href="#" data-toggle="dispose">
                                        <i class="glyphicon glyphicon-remove"></i>
                                    </a>
                                </div><!--Widget Buttons-->
                            </div><!--Widget Header-->
                            <div class="widget-body">
                                <form role="form" class="form-horizontal">
                                    <div class="form-group col-sm-12 col-xs-12">
                                        <label class="col-sm-3 control-label">指标项</label>
                                        <div class="col-sm-9">
											<div class="input-group">
												<input type="text" class="form-control" disabled="">
												<span class="input-group-btn">
													<a href="#zhibiao" data-toggle="modal" class="btn btn-default shiny" style="line-height: 20px">选择</a>
												</span>
											</div>
                                        </div>
                                    </div>
                                    <div class="form-group col-xs-12 col-md-12">
                                        <label class="control-label col-xs-3">描述</label>
                                        <div class="col-xs-9 col-ms-10">
                                            <textarea class="form-control depDescribe" name="depDescribe" rows="6">暂无</textarea>
                                        </div>
                                    </div>
                                    <div class="col-xs-12">
                                        <div class="col-xs-3 col-xs-offset-3">
                                            <button type="submit" class="btn btn-darkorange btn-lg form-control confirm-btn">确认
                                            </button>
                                        </div>
                                        <div class="col-xs-3 col-xs-offset-1">
                                            <button type="reset" class="btn btn-active btn-lg form-control cancel-btn">取消
                                            </button>
                                        </div>
                                    </div>
                                </form>
                            </div><!--Widget Body-->
                        </div>
                    </div>
                </div>
            </div>
		<P class="bottomfont text-center">© 2016 Angel Health Management Ltd. :天使健康管理有限公司</P>
	</div>
	
<div class="modal fade in" aria-hidden="false" id="zhibiao" style="display: none;">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button class="close" type="button" data-dismiss="modal">×</button>
					<h4 class="modal-title">选择指标</h4>
				</div>
				<div class="modal-body form-horizontal">
					<form action="">
						<div id="search" class="form-search">
							<label class="control-label col-lg-4">关键词：</label>
							<input class="form-control" type="text" style="width: 200px;display: inline-block;">
							<div style="display: inline-block;margin-left: 10px;">
								<a class="btn btn-primary"><i class="glyphicon glyphicon-search"></i>搜索</a>
							</div>
						</div>
						<div class="area-select" style="margin-top: 20px">
							<ul id="tree2" class="ztree col-lg-offset-4 col-md-offset-4 col-xs-offset-4"></ul>
						</div>
						<div class="hr-line-dashed"></div>
							<div class="col-sm-10 col-sm-offset-2">
								<button class="btn btn-darkorange col-sm-3" type="submit">确定</button>
								<button class="btn btn-active col-sm-3 col-xs-offset-3" data-dismiss="modal" aria-hidden="true">取消</button>
							</div>
					</form>
				</div>
			</div>
		</div>
	</div>

<script src="${ctx }/dep/treeTable/jquery.treetable.js"></script>
<script src="${ctx }/dep/zTreeStyle/jquery.ztree.all.min.js"></script>
<script type="text/javascript" src="${ctx }/home/yichang/department.js"></script>
<script src="${ctx }/home/yichang/yichang.js"></script>

<script type="text/javascript">
	$(".delete_content").click(function(){
		$(this).next().find(".form-group").remove()
	})
</script>

</body>
</html>